package me.macd.mindoc.dao;

import me.macd.mindoc.model.Relationship;

import java.util.List;

/**
 * Created by macd on 2018-10-31.
 */
public interface RelationshipDao {
    int insert(Relationship relationship);

    List<Relationship> findListByBookId(int bookId, int memberId);

    List<Relationship> findListByBookIdAndRoleId(int bookId, int roleId);
}
